﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    Sys_RoleAndFunc
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:28
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:28
    /// </summary>
        [OrmPropertyAttribute(TableName = "Sys_RoleAndFunc",PrimaryKey = "RoleFuncID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class Sys_RoleAndFunc
    {
        #region 构造函数
        public Sys_RoleAndFunc(){}
        
        public Sys_RoleAndFunc(int RoleFuncID,int RoleID,int FuncID)
        {
           this._RoleFuncID = RoleFuncID;
           this._RoleID = RoleID;
           this._FuncID = FuncID;

        }
        #endregion
        
        #region 成员
        private int _RoleFuncID;
        private int _RoleID;
        private int _FuncID;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int RoleFuncID
        {
            get { return _RoleFuncID; }
            set { _RoleFuncID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int RoleID
        {
            get { return _RoleID; }
            set { _RoleID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int FuncID
        {
            get { return _FuncID; }
            set { _FuncID = value; }
        }
        #endregion
    }
}